import { TableInfoSearchParams } from './model/TableInfoModel';
import { defHttp } from '/@/utils/http/axios';

enum Api {
  // 字典管理接口
  TableListApi = '/gen/table/page',
}
/**
 * @description:  获取数据源列表
 * @param params
 * @returns
 */
export const getTableInfoList = (params: TableInfoSearchParams) =>
  defHttp.get<any>({ url: Api.TableListApi, params });
